//
//  LEStaffDeatilAddressCell.m
//  LoveExpressBusiness
//
//  Created by 刘甲奇 on 2017/5/10.
//  Copyright © 2017年 DFH. All rights reserved.
//

#import "LEStaffDeatilAddressCell.h"
@interface LEStaffDeatilAddressCell()
@property (weak, nonatomic) IBOutlet UILabel *addressLabel;
@property (weak, nonatomic) IBOutlet UILabel *staffTypeLabel;

@end

@implementation LEStaffDeatilAddressCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setModel:(LEStaffDetialModel *)model
{
    self.addressLabel.text = model.service_address;
    if ([model.service_place isEqualToString:@"1"]) {
        self.staffTypeLabel.text = @"店内员工";
    }
    if ([model.service_place isEqualToString:@"2"]) {
        self.staffTypeLabel.text = @"配送员工";
    }
}

@end
